<template>
  <div class="home-container">
    <el-descriptions title="统计数据" :column="4" :colon="false">
<!--        <el-descriptions-item label="总物流公司（家）:">{{form_Statistics.customerTotalNum}}</el-descriptions-item>-->
        <el-descriptions-item label="注册物流公司（家）:">{{form_Statistics.deptTotalNum}}</el-descriptions-item>
        <el-descriptions-item></el-descriptions-item>
        <el-descriptions-item></el-descriptions-item>
        <el-descriptions-item></el-descriptions-item>
<!--        <el-descriptions-item label="总个体司机（个）:">0</el-descriptions-item>-->
<!--        <el-descriptions-item label="注册个体司机（个）:">{{form_Statistics.driverTotalNum}}</el-descriptions-item>-->
        <el-descriptions-item label="开通物流公司（户）:">{{form_Statistics.enableDeptNum}}</el-descriptions-item>
      <el-descriptions-item></el-descriptions-item>
      <el-descriptions-item></el-descriptions-item>
      <el-descriptions-item></el-descriptions-item>
<!--        <el-descriptions-item label="开通个体司机（户）:">{{form_Statistics.enableDriverNum}}</el-descriptions-item>-->
        <el-descriptions-item label="未通物流公司（户）:">{{form_Statistics.disableDeptNum}}</el-descriptions-item>
<!--        <el-descriptions-item label="未通个体司机（户）:">{{form_Statistics.disableDriverNum}}</el-descriptions-item>-->
        <el-descriptions-item></el-descriptions-item>
        <el-descriptions-item></el-descriptions-item>
        <el-descriptions-item></el-descriptions-item>
<!--        <el-descriptions-item label="总订单量（个）:">0</el-descriptions-item>-->
<!--        <el-descriptions-item label="完成订单量（个）:">0</el-descriptions-item>-->
<!--        <el-descriptions-item></el-descriptions-item>-->
<!--        <el-descriptions-item></el-descriptions-item>-->
<!--        <el-descriptions-item label="总货源数（个）:">0</el-descriptions-item>-->
<!--        <el-descriptions-item label="承运货源数（个）:">0</el-descriptions-item>-->
<!--        <el-descriptions-item></el-descriptions-item>-->
<!--        <el-descriptions-item></el-descriptions-item>-->
<!--        <el-descriptions-item label="总运单量（个）:">{{form_Statistics.wayBillTotalNum}}</el-descriptions-item>
        <el-descriptions-item label="完成运单量（个）:">{{form_Statistics.finishWayBillNum}}</el-descriptions-item>
        <el-descriptions-item></el-descriptions-item>
        <el-descriptions-item></el-descriptions-item>
        <el-descriptions-item label="总发车车次（次）:">{{form_Statistics.dispatchCarTotalNum}}</el-descriptions-item>
        <el-descriptions-item label="本月发车车次（次）:">{{form_Statistics.dispatchCarCurMonthNum}}</el-descriptions-item>-->
<!--        <el-descriptions-item></el-descriptions-item>-->
<!--        <el-descriptions-item></el-descriptions-item>-->
<!--        <el-descriptions-item label="总线路（条）:">0</el-descriptions-item>-->
<!--        <el-descriptions-item label="营业总额（元）:">0</el-descriptions-item>-->
<!--        <el-descriptions-item></el-descriptions-item>
        <el-descriptions-item></el-descriptions-item>
        <el-descriptions-item label="总应付账款（元）:">{{form_Statistics.payableTotal}}</el-descriptions-item>
        <el-descriptions-item label="总应收账款（元）:">{{form_Statistics.receivableTotal	}}</el-descriptions-item>
        <el-descriptions-item></el-descriptions-item>
        <el-descriptions-item></el-descriptions-item>-->
    </el-descriptions>
<!--    <el-descriptions title="待办事项" :column="4" :colon="false">
      <el-descriptions-item label="待提交运单：">{{form_Todo.waitSubmitWaybill}}</el-descriptions-item>
      <el-descriptions-item label="待提货运单：">{{form_Todo.scheduledWaybill}}</el-descriptions-item>
      &lt;!&ndash;        <el-descriptions-item label="待卸货运单：">{{form.waitSubmitWaybill}}</el-descriptions-item>&ndash;&gt;
      <el-descriptions-item></el-descriptions-item>
      <el-descriptions-item></el-descriptions-item>
      <el-descriptions-item label="提货中运单：">{{form_Todo.pickupingWaybill}}</el-descriptions-item>
      &lt;!&ndash;        <el-descriptions-item label="待送货运单：">{{form.waitSubmitWaybill}}</el-descriptions-item>&ndash;&gt;
      <el-descriptions-item label="待提货车次：">{{form_Todo.scheduledCar}}</el-descriptions-item>
      <el-descriptions-item label="提货中车次：">{{form_Todo.pickupingCar}}</el-descriptions-item>
      <el-descriptions-item label="已达到车次：">{{form_Todo.arrivalCar}}</el-descriptions-item>
      <el-descriptions-item label="待调度运单：">{{form_Todo.submitedWaybill}}</el-descriptions-item>
      <el-descriptions-item label="待签收运单：">{{form_Todo.arrivalWaybill}}</el-descriptions-item>
      <el-descriptions-item label="已签收运单：">{{form_Todo.signatureWaybill}}</el-descriptions-item>
      <el-descriptions-item label="在途中车次：">{{form_Todo.departureCar}}</el-descriptions-item>
      <el-descriptions-item label="已完成车次：">{{form_Todo.completedCar}}</el-descriptions-item>
      <el-descriptions-item label="已完成运单：">{{form_Todo.completedWaybill}}</el-descriptions-item>
      &lt;!&ndash;        <el-descriptions-item label="待装车运单：">{{form.waitSubmitWaybill}}</el-descriptions-item>&ndash;&gt;
      &lt;!&ndash;        <el-descriptions-item label="待回单运单：">{{form_Statistics.reciptWaybill}}</el-descriptions-item>&ndash;&gt;
              <el-descriptions-item label="未结应付运单：">{{form_Todo.noSettlePayableNum}}</el-descriptions-item>
              <el-descriptions-item label="未结应收运单：">{{form_Todo.noSettleReceivableNum}}</el-descriptions-item>
      &lt;!&ndash;        <el-descriptions-item label="三方中转运单：">0</el-descriptions-item>&ndash;&gt;
      &lt;!&ndash;        <el-descriptions-item label="站内中转运单：">0</el-descriptions-item>&ndash;&gt;
      &lt;!&ndash;        <el-descriptions-item label="创建内部账号：">0</el-descriptions-item>&ndash;&gt;
    </el-descriptions>-->
  </div>
</template>

<script>
import { indexStatistics,indexTodo } from '@/api/system/index'
export default {
  name: "Home",
  components:{
  },
  data() {
    return {
      minHeight: 0,
      form_Statistics:{},
      form_Todo:{}
    };
  },
  async created() {
    await this.getDetailOne()
    await this.getDetailTwo()
  },
  methods: {
    getDetailOne() {
      indexStatistics().then(res => {
        this.form_Statistics = res.data
      }).catch(()=> {
      });
    },
    getDetailTwo() {
      indexTodo().then(res => {
        this.form_Todo = res.data
      }).catch(()=> {
      });
    },
  }
};
</script>

<style rel="stylesheet/scss" lang="scss">
.home-container {
  position: relative;
  .sys-guide-process {
    position: absolute;
    top: 0;
    right: 0;
  }
  .sys-guide-ui {
    position: absolute;
    top: 0;
    right: 90px;
  }
}
</style>
